package models;

import javax.persistence.Column;
import javax.persistence.DiscriminatorColumn;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.MappedSuperclass;

import siena.Model;
import siena.Table;



@Table("users")
public class User extends IdModel {

	public String fullName = "";

    @Column(unique=true)
    public String email;
    
    public String password;
    
    public String timeZoneId = "UTC";

	public User(String email, String password, String fullName) {
		super();
		this.email = email;
		this.password = password;
		this.fullName = fullName;
	}
	
	
	public User() {
		super();
		// TODO Auto-generated constructor stub
	}


	@Override
	public String toString() {
		return fullName;
	}
    
}
